//
//  GGJigsawScrollView.h
//  GGExtension
//
//  Created by yg on 2022/7/27.
//

#import <UIKit/UIKit.h>

//以拼图形式管理ScrollView的子视图 多同方向ScrollView的衔接滚动处理 内部自动计算高度
@interface GGJigsawScrollView : UIView

@property (nonatomic, strong) UIScrollView *scrollView;
@property (nonatomic, strong) UIView *contentView;

@end

@interface GGJigsawItem : NSObject

@property (nonatomic, strong) UIView *itemView;//呈现的视图
@property (nonatomic, assign) CGFloat displayHeight;//显示高度
@property (nonatomic, assign) CGFloat scrollHeight;//滚动高度
@property (nonatomic, weak) UIScrollView *scrollView;//被监听容量的ScrollView 若为空，则使用height

@end
